<?php
/**
 *---------------------------------------------------------------
 * 檔案名稱: about.php
 * 類別功能: 關於funkey系統的功能介紹。 
 *---------------------------------------------------------------
 */

if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Profile extends CI_Controller {
	
	//建構方法
	function __construct() {
		parent::__construct();
		$this->load->helper('url');
		$this->load->library('session');		
	}
	
	//預設方法
	function index(){
		
		$login = $this->session->userdata('login');
		$name = $this->session->userdata('name');
		
		$data = array(
		      'login' => $login,
		       'name' => $name
		);
		
		$this->load->view('frontend/default/header',$data);
		$this->load->view('frontend/profile');
		$this->load->view('frontend/default/footer');
	}
	
}


//*** 結束profile.php ***//